package com.slwish.xty.mvp.contract;

import com.slwish.common.mvp.contract.BaseContract;
import com.slwish.xty.entity.SubscribeModel;

import java.util.List;

/**
 * 模块说明：
 *
 * @author 陈浩
 * @date 2017/12/5
 */

public interface  SubscribeListContract {
    interface Presenter extends BaseContract.Presenter {

        void querySubscribeByUserId(long userId, int page);
    }

    // 都在基类完成了
    interface View extends BaseContract.View<Presenter> {
        void querySubscribeSuccess(List<SubscribeModel> model);
        void querySubscribeFailed();
    }
}
